package com.jl.card.parse.part.simpleTLV;

public class Result {
	
	public static String getResultName(byte res){
		switch (res) {
		case 0x00:
			return "Command performed successfully";
		case 0x01:
			return "Command performed with partial comprehension";
		case 0x02:
			return "Command performed, with missing information";
		case 0x03:
			return "REFRESH performed with additional EFs read";
		case 0x04:
			return "Command performed successfully, but requested icon could not be displayed";
		case 0x05:
			return "Command performed, but modified by call control by NAA";
		case 0x06:
			return "Command performed successfully, limited service";
		case 0x07:
			return "Command performed with modification";
		case 0x08:
			return "REFRESH performed but indicated NAA was not active";
		case 0x09:
			return "Command performed successfully, tone not played";
		case 0x10:
			return "Proactive UICC session terminated by the user";
		case 0x11:
			return "Backward move in the proactive UICC session requested by the user";
		case 0x12:
			return "No response from user";
		case 0x13:
			return "Help information required by the user";
		case 0x14:
			return "reserved for GSM/3G";
		case 0x20:
			return "terminal currently unable to process command";
		case 0x21:
			return "Network currently unable to process command";
		case 0x22:
			return "User did not accept the proactive command";
		case 0x23:
			return "User cleared down call before connection or network release";
		case 0x24:
			return "Action in contradiction with the current timer state";
		case 0x25:
			return "Interaction with call control by NAA, temporary problem";
		case 0x26:
			return "Launch browser generic error code";
		case 0x27:
			return "MMS temporary problem";
		case 0x30:
			return "Command beyond terminal's capabilities";
		case 0x31:
			return "Command type not understood by terminal";
		case 0x32:
			return "Command data not understood by terminal";
		case 0x33:
			return "Command number not known by terminal";
		case 0x34:
			return "reserved for GSM/3G";
		case 0x35:
			return "reserved for GSM/3G";
		case 0x36:
			return "Error, required values are missing";
		case 0x37:
			return "reserved for GSM/3G";
		case 0x38:
			return "MultipleCard commands error";
		case 0x39:
			return "Interaction with call control by NAA, permanent problem";
		case 0x3a:
			return "Bearer Independent Protocol error";
		case 0x3b:
			return "Access Technology unable to process command";
		case 0x3c:
			return "Frames error";
		case 0x3d:
			return "MMS Error";
		default:
			return "UNKNOWN RESULT";
		}
	}
}
